<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class InitUpdate81 extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('orders', function (Blueprint $table) {
            
            $table->integer('exchange_record_id')->nullable()->index()->comment('兑换记录的id');
            $table->integer('exchange_money_discount')->nullable()->comment('兑换人民币抵扣');
            $table->integer('exchange_score_discount')->nullable()->comment('兑换积分抵扣');

        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
